<style>
body {
    margin: 0;
}

#rel-pos {
    position: relative;
    left: 123px;
    top: 456px;
}

#inline-block {
    display: inline-block;
    position: relative;
    left: 12px;
    top: 34px;
    width: 10px;
    height: 20px;

    transform: translateZ(0);
}
</style>
<span id="rel-pos"><div id="inline-block"></div></span>
